package com.zx.chatroom.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * Dept entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="s_dept"
)

public class Dept  implements java.io.Serializable {


    // Fields    

     private String id;
     private String owner;
     private String name;
     private String labels;
     private String layer;
     private String leaf;
     private Integer status;
     private String remark;


    // Constructors

    /** default constructor */
    public Dept() {
    }

	/** minimal constructor */
    public Dept(String id) {
        this.id = id;
    }
    
    /** full constructor */
    public Dept(String id, String owner, String name, String labels, String layer, String leaf, Integer status, String remark) {
        this.id = id;
        this.owner = owner;
        this.name = name;
        this.labels = labels;
        this.layer = layer;
        this.leaf = leaf;
        this.status = status;
        this.remark = remark;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="ID", unique=true, nullable=false, length=64)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="OWNER", length=64)

    public String getOwner() {
        return this.owner;
    }
    
    public void setOwner(String owner) {
        this.owner = owner;
    }
    
    @Column(name="NAME", length=64)

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    @Column(name="LABELS", length=1024)

    public String getLabels() {
        return this.labels;
    }
    
    public void setLabels(String labels) {
        this.labels = labels;
    }
    
    @Column(name="LAYER", length=256)

    public String getLayer() {
        return this.layer;
    }
    
    public void setLayer(String layer) {
        this.layer = layer;
    }
    
    @Column(name="LEAF", length=64)

    public String getLeaf() {
        return this.leaf;
    }
    
    public void setLeaf(String leaf) {
        this.leaf = leaf;
    }
    
    @Column(name="STATUS")

    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    @Column(name="REMARK", length=100)

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
   








}